﻿using Domain.Entity.System_setting;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCore.Configer.System_setting
{
    public class DepartConfiger : IEntityTypeConfiguration<Ment_depart>
    {
        public void Configure(EntityTypeBuilder<Ment_depart> builder)
        {
            builder.ToTable(nameof(Ment_depart));
            builder.HasKey(e => e.Depart_id);
        }
    }
}
